package com.huitone.gddw.service.dto.analysis.longsms;

import java.util.Date;

import com.huitone.gddw.common.excel.ColToProperty;
import com.huitone.gddw.common.excel.TabCol;

/**
 * 超长短信统计  来源端
 * @author wuluodan
 *
 */
public class LongSmsFromRepDTO {

	@ColToProperty
	@TabCol(Index = 1, title = "序号", width = "30")
	private Integer seq;
	
	private Date sendTime;
	
	@ColToProperty
	@TabCol(Index = 2, title = "时间", width = "65")
	private String sendTimeDate;
	
	private String smFrom;
	
	@ColToProperty
	@TabCol(Index = 3, title = "来源端", width = "90")
	private String smFromStr;

	@ColToProperty
	@TabCol(Index = 4, title = "长短信条数", width = "65")
	private String longSmsCount;

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public String getSendTimeDate() {
		return sendTimeDate;
	}

	public void setSendTimeDate(String sendTimeDate) {
		this.sendTimeDate = sendTimeDate;
	}

	public String getSmFrom() {
		return smFrom;
	}

	public void setSmFrom(String smFrom) {
		this.smFrom = smFrom;
	}

	public String getSmFromStr() {
		if (null == this.smFrom) return "未知";
		if (this.smFrom.equals("1")) return "集中接口";
		if (this.smFrom.equals("2")) return "旧平台接口";
		if (this.smFrom.equals("3")) return "短信门户";
		return "未知";
	}

	public void setSmFromStr(String smFromStr) {
		this.smFromStr = smFromStr;
	}

	public String getLongSmsCount() {
		return longSmsCount;
	}

	public void setLongSmsCount(String longSmsCount) {
		this.longSmsCount = longSmsCount;
	}
	
}
